package com.authine.cloudpivot.ext;

import com.alibaba.cola.dto.SingleResponse;

import java.util.ArrayList;
import java.util.Map;

/**
 * @ClassName Main
 * @Description: TODO
 * @Author fj
 * @Date 2021/4/20
 * @Version V1.0
 **/
public class Main {
    public static void main(String[] args) {
//        Inquiry inquiry = new Inquiry();
//        inquiry.setInquiryGoodsList(Lists.newArrayList());
//        Inquiry inquiry1 = new Inquiry();
//        inquiry.setQq("123456");
//        inquiry.setMemos("123456");
//        inquiry1.setQq("123456");
//        inquiry1.setMemos("123456");
//        List<Inquiry> inquiryList = new ArrayList();
//        inquiryList.add(inquiry);
//        inquiryList.add(inquiry1);
//        List<Map<String,Object>> maps = JSON.parseObject(JSON.toJSONString(inquiryList), List.class);
//        System.out.println(maps);
//        Map<String,Object> maps = Maps.newHashMap();
//        maps.put("name", "zs");
//        System.out.println(maps.size());
//        maps.clear();
//        System.out.println(maps.size());
//        String url  = "http://120.55.98.117/api/launcher/sourcingcenter";
//        System.out.println(url.split("api")[0]);
//        Map<String,Object> quotationGoodsOld = Maps.newHashMap();
//        quotationGoodsOld.put("deleted", 0);
//        Boolean deleted = Optional.ofNullable(quotationGoodsOld.get("deleted")).isPresent();
//        System.out.println(deleted);
        System.out.println(SingleResponse.class.getSimpleName());
        System.out.println(ArrayList.class.getSimpleName());
        System.out.println(Map.class.getSimpleName());
    }
}
